import request from "@/utils/request";

// 消息列表（分页）
export function pageList(params) {
  return request({
    url: `/message/page`,
    method: "get",
    params
  });
}

// 已读
export function read(params) {
  return request({
    url: `/message/read`,
    method: "get",
    params
  });
}

// 消息详情
export function messageDetail(id) {
  return request({
    url: `/notificationManagement/${id}`,
    method: "get"
  });
}